package com.tenebrous.jestic.entity.model.request;

import com.tenebrous.jestic.context.BaseRequest;
import com.tenebrous.jestic.context.JesticTask;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description:
 * @Project: jestic-spring-boot
 * @Package: com.zy.tenebrous.jestic.entity.request
 * @Author: zhangya
 * @CreateTime: 2023-06-25  15:02
 * @Version: 1.0.0
 */
@Data
public class ServerHearBeatRequest extends JesticTask implements BaseRequest, Serializable{

    private String serverId;

    private String serverName;

    private String token;

    private String instanceId;

    @Override
    public void start() {
        super.start();
    }

    @Override
    public void end() {

    }

    @Override
    public Long getTime() {
        return 0L;
    }

    @Override
    public void modifyNode() {
        super.updateNode(null);
    }
}
